<?php 
	include 'header.php';		
?>
<h2><?php echo $title; ?></h2>
<?php echo form_open_multipart('home/newFood');?>
<table>
	<tr>
		<td>Tên món ăn</td>
		<td><?php echo form_input('food'); ?></td>
	</tr>
	<tr>
		<td>Hình ảnh</td>
		<td><?php echo form_upload('picture'); ?></td>
	</tr>
	<tr>
		<td>Cách nấu</td>
		<td><?php echo form_textarea('howtocook'); ?></td>
	</tr>
	<tr>
		<td>Gia vị</td>
		<td><?php echo form_textarea('spice'); ?></td>
	</tr>
	<tr>
		<th colspan="2"><?php echo form_submit('insertFood', 'Tạo món ăn');?></th>
	</tr>
</table>
</form>